export namespace IUpload {
  export interface File {
    file: File
    dirTag?: string
  }

  export interface UploadResult {
    url: string
    filename: string
    fileName: string
    eTag: string
    objectName: string
    dirTag: string
    contextType: string
    size: number
    fileId: number
  }
}

export type IUploadResult = IUpload.UploadResult | null
